package com.example.demo.service.Impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.example.demo.mapper.SysUserBankMapper;
import com.example.demo.domain.SysUserBank;
import com.example.demo.domain.SysUserBankExample;
import com.example.demo.service.SysUserBankService;
@Service
public class SysUserBankServiceImpl implements SysUserBankService{

    @Resource
    private SysUserBankMapper sysUserBankMapper;

    @Override
    public long countByExample(SysUserBankExample example) {
        return sysUserBankMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(SysUserBankExample example) {
        return sysUserBankMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Long id) {
        return sysUserBankMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(SysUserBank record) {
        return sysUserBankMapper.insert(record);
    }

    @Override
    public int insertSelective(SysUserBank record) {
        return sysUserBankMapper.insertSelective(record);
    }

    @Override
    public List<SysUserBank> selectByExample(SysUserBankExample example) {
        return sysUserBankMapper.selectByExample(example);
    }

    @Override
    public SysUserBank selectByPrimaryKey(Long id) {
        return sysUserBankMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByExampleSelective(SysUserBank record,SysUserBankExample example) {
        return sysUserBankMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(SysUserBank record,SysUserBankExample example) {
        return sysUserBankMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(SysUserBank record) {
        return sysUserBankMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(SysUserBank record) {
        return sysUserBankMapper.updateByPrimaryKey(record);
    }

}
